package org.smartbird
{
	public class UserManager
	{
		private var userSet:Object; 
		
		public function UserManager()
		{
			userSet = new Object();
		}
		
		public function removeUser(user:User):void
		{
			delete userSet[user.id];
		}
		
		public function addUser(user:User):void
		{
			userSet[user.id] = user;
		}
		
		public function getUserById(id:int):User
		{
			return userSet[id]; 
		}

	}
}